package com.correo.modelo.server;

import java.sql.SQLException;
import java.util.List;

import com.correo.database.beans.IBean;
import com.correo.exceptions.server.AltaException;
import com.correo.exceptions.server.ModifyException;
import com.correo.exceptions.server.RefreshException;
import com.correo.exceptions.server.RemoveException;
import com.correo.exceptions.server.ViewException;

public interface IModel {

	public void remove(List<IBean> listBean)throws  RemoveException, SQLException, ClassNotFoundException;
	public void modify(IBean bean)throws  ModifyException, SQLException, ClassNotFoundException;
	public void view(IBean bean)throws  ViewException, SQLException, ClassNotFoundException;
	public void alta(IBean listBean)throws  AltaException, SQLException, ClassNotFoundException;
	public List<IBean> refresh()throws RefreshException, SQLException, ClassNotFoundException ;
}
